/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmInformasiOrderRuangan.java
 *
 * Created on Jan 24, 2012, 9:55:45 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmInformasiOrderRuangan extends Form {

    /** Creates new form frmInformasiOrderRuangan */
    public frmInformasiOrderRuangan() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        table1 = new SIMRS.RawatInap.widget.Table();
        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        scrollPane1 = new SIMRS.RawatInap.widget.ScrollPane();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblInformasiOrderRuangan = new SIMRS.RawatInap.widget.Table();
        btnEdit = new SIMRS.RawatInap.widget.button2();
        btnHapus = new SIMRS.RawatInap.widget.button2();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        label2 = new SIMRS.RawatInap.widget.Label();
        label3 = new SIMRS.RawatInap.widget.Label();
        label1 = new SIMRS.RawatInap.widget.Label();
        btnCari = new SIMRS.RawatInap.widget.button2();
        txtTanggalAwal = new com.toedter.calendar.JDateChooser();
        txtTanggalAkhir = new com.toedter.calendar.JDateChooser();

        setTitle("[ :: Informasi Order Ruangan  :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_RIGHT);
        setAnimationShow(usu.widget.constan.Animation.HIDE_TO_LEFT);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        table1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(table1);

        getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 0, 0));

        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        tblInformasiOrderRuangan.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(tblInformasiOrderRuangan);

        scrollPane1.setViewportView(jScrollPane2);

        pnlForm1.add(scrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, 530, 100));

        btnEdit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_edit.png"))); // NOI18N
        btnEdit.setText("Edit");
        pnlForm1.add(btnEdit, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 310, -1, -1));

        btnHapus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_hapus.png"))); // NOI18N
        btnHapus.setText("Hapus");
        pnlForm1.add(btnHapus, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 310, -1, -1));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 310, -1, -1));

        label2.setText("Periode ");
        pnlForm1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(260, 90, 51, 20));

        label3.setText("S/d");
        pnlForm1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 120, -1, -1));

        label1.setForeground(new java.awt.Color(255, 255, 255));
        label1.setText("Form Informasi Order Ruangan");
        label1.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, 410, -1));

        btnCari.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_search.png"))); // NOI18N
        btnCari.setText("Cari");
        pnlForm1.add(btnCari, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 110, -1, -1));
        pnlForm1.add(txtTanggalAwal, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 120, 140, -1));
        pnlForm1.add(txtTanggalAkhir, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 120, 120, -1));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 560, 360));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-563)/2, (screenSize.height-397)/2, 563, 397);
    }// </editor-fold>//GEN-END:initComponents

    private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
        dispose();
    }//GEN-LAST:event_btnKeluarActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        dispose();
    }//GEN-LAST:event_formWindowClosing

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnCari;
    private SIMRS.RawatInap.widget.button2 btnEdit;
    private SIMRS.RawatInap.widget.button2 btnHapus;
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private SIMRS.RawatInap.widget.Label label1;
    private SIMRS.RawatInap.widget.Label label2;
    private SIMRS.RawatInap.widget.Label label3;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.ScrollPane scrollPane1;
    private SIMRS.RawatInap.widget.Table table1;
    private SIMRS.RawatInap.widget.Table tblInformasiOrderRuangan;
    private com.toedter.calendar.JDateChooser txtTanggalAkhir;
    private com.toedter.calendar.JDateChooser txtTanggalAwal;
    // End of variables declaration//GEN-END:variables
}
